What is a deadlock?
- A set of blocked processes each holding a resource and waiting
to acquire a resource held by another process in the set.
- Deadlocks are particularly troubling because there is no general
solution to avoid (soft) deadlocks
- A deadlock occurs when two or more tasks permanently block
each other by each task having a lock on a resource which the other
tasks are trying to lock.